﻿// ==================================================
// Copyright © 2016 杭州伯庸科技 版权所有
//
// 文 件 名：Predefine
// 功能描述：
//
// 创建标识：Yu.Liang(俞 亮) 2018/1/30 16:57:27
//
// 修改标识：
// 修改描述：
// ==================================================

using SuperMap.Realspace;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shine.Viewer
{
    public enum AltitudeModeType
    {
        ClampToGround = 0,
        RelativeToGround = 1,
        Absolute = 2,
        RelativeUnderGround = 3,
        AbsoluteUnderGround = 4,
        ClampToObject = 5,
        ModifyTerrain = 6
    }

    public struct RealspaceBookMarkStruck
    {
        public Camera ca;
        public string bkname;
        public string bkunicode;
        public string bkfile;
        public static readonly RealspaceBookMarkStruck Empty;
        public RealspaceBookMarkStruck(Camera ca, string name, string code, string file) 
        {
            this.ca = ca;
            this.bkname = name;
            this.bkunicode = code;
            this.bkfile = file;
        }
    }

    public class BookMarkHelper
    {
        public static string GetGuid()
        {
            System.Guid guid = new Guid();
            guid = Guid.NewGuid();
            return guid.ToString();
        }
    }

    public class RealspaceBookMarkEventArgs : EventArgs
    {
        public RealspaceBookMarkStruck CurrentBMS { get; private set; }
        public RealspaceBookMarkEventArgs(RealspaceBookMarkStruck _currentBMS)
        {
            this.CurrentBMS = _currentBMS;
        }
    }

    public class BookMarkEventArgs : EventArgs
    {
        public 三维书签 CurrentBMK { get; private set; }
        public BookMarkEventArgs(三维书签 _currentBMK)
        {
            this.CurrentBMK = _currentBMK;
        }
    }
}
